Major overhaul of functionality and structure. Now uses default.twig and layout.twig to render templates.