cleaning up directories and unnecessary files