remove unnecessary files and dependencies