set main class