Broke core template out to use includes