add get and set methods for Environment class