Base for flask apps