Change mysql to pg for production to deploy on heroku
Fix the debugger