Fixed issues for local/heroku deployment. Updated gitignore to include environment file