Refactor with Blueprints (flask_project)