Modify classes and delete unnecessary files.