Added body of Environment class