with flaskr renamed to __init__