created database and initialized flask app