Code movement

Moving template code after apache service enablement