create the main class