Changing schedule code to run on heroku environment, using apscheduler.scheduler
Adding new code executede on heroku environment to initialize the application
Adding heroku config file to define what command should be executed when start the application
Fixing length of password field, because was too small for a encripted value
Changing connection to database, becauuse now we are using a PostgreSQL databse from Heroku server
Fixing group by queries, because Postgree need all columns in the select are in the group by