can this just pass in the services it needs vs the whole db/env?