add support for templates

also.. 
add static directory to serve non-dynamic contents like css files, js files, images which are not going to change on every request!