update app
update url routes
update url routes
enable flask debug
test example
update app
Made code more OOP friendly.