Add main class file