cleaning up directories for unused routines and duplicated files