Creating Template entity and mapping it to Page.