made Task as a subclass of the class SimpleStore.