basic app changes and fixes for heroku