add jinja loader
pass use_debugger to app.run
add layout.html
add input