tidy up redundant files and left over code.