new main class