Added config files Heroku's deployment and some code improvements