[Custom] Refactoring settings, using patches for compression and static files storage on s3 for heroku