reordered Task constructor parameters
added MemexTask