Initialize main class file