Added a base Task class for tools