Rename worklist by collection.
Rewrite collection module.  Add a test file for collection.