change app structure to work with heroku better