switch to using the flask module as a namespace instaed of importing symbols