move main class