generate main class