rm old main class