create main class file