application factory {flask}

doc