main class created