Best practices for implementing services with internal state and static dependencies - Effect Community