Removed last change.
Removed a weird file for heroku.
Changed some DB requests to work with postgres.