simplify the Environment class, no longer inheriting from a policy
makes names() a free function instead of a member function of some api classes