Removal of unecessary code and files