Removed Flask-classy and convereted all class methods to module functions