main class for classes tutorial