Remove main and common projects and their packages