moved env into its own module
moved deps into its own module
moved exec into its own module