Created a factory for the worklist