added class that removes the temporary directories at start up