reconfigured environment to work on heroku and locally. added basic logi...

...c to add items to the database