Simplify flask app initialization