refactored models and simplified heroku Procfile