Remove unused imports
Added type field to Task ADT.

Added type field to allow easy identification of the type of task when
processing at the individual storage level.