Create main class