Moving components to the `core` module

Some other improvements and fixes were made to the Env component, like
renaming instance variables and some other cosmetic changes.
Putting the services together in the environment