old main class removed.