Generated main class