refactored requirements to environments