message: Use Layer in CQRS & ORM Config
diff: import * as T from "../Effect"
  import * as F from "../Function"
  import { pipe } from "../Function"
  +import * as L from "../Layer"
  import * as M from "../Managed"
  export type Patched<A, B> = B extends F.FunctionN<
  @@ -175,6 +176,15 @@ export function implement<S extends ModuleSpec<any>>(
  )
  }
  +export function layer<S extends ModuleSpec<any>>(s: S) {
  + return <I extends Implementation<TypeOf<S>>>(
  + i: I
  + ): L.Layer<never, ImplementationEnv<OnlyNew<TypeOf<S>, I>>, never, TypeOf<S>> =>
  + L.fromEffect(
  + T.access((e: ImplementationEnv<OnlyNew<TypeOf<S>, I>>) => providing(s, i, e))
  + )
  +}
  +
  export function implementWith<SW, RW, EW, AW>(w: T.Effect<SW, RW, EW, AW>) {
  return <S extends ModuleSpec<any>>(
  s: S,
  