removed old main class