created model template class