A few helper functions added as well as a custom template loader that mimics WP' own. This lets us have a templates folder and a cleaner folder structure in the theme.