Boilerplate code for including flask script in a project