init the page template class