Took care of basic routing using templates.