created Environment class