added router and templating stuffs