Paint application using flask+Postgresql deployed in heroku