Added @templated decorator
Customized behavior by inheriting from the flask class (whitespace and newline control, reloading)