Remove unneeded code and files