moved all action from features controller to environments controller and change routing to point to environments endpoint