Clean main class