Added editor method to change Environment

This method is only for giving access to editor classes.