Added basic routing to templates.  Lol yeah right but still.