init_app support
app factory support (init_app)