template main class