added flask-script, did first round of db migrations and models.