create new main class