list_environments function

List all environments and objects