Remove unneeded files and dependencies