Delete unnecessary files and clean up methods