cleaned up templates and added root page