create flask app, instantiate db