Added template loading and re-routed the compiled pages so the index page is actually being hosted.