using https://github.com/JackStouffer/Flask-Foundation