remove unnecessary main class