Got template base working