init flaskr