Added the environment class