class template app