Update requirements
Remove env parameter from app factory function