added complete, restore, and clear-task functionality, and added more specs
cleared tmp cache