Implemented retrieving environment
Done with updating environments
Deleting environments is now working