PLANNER-201 Add generics support for the MoveListFactory API
(cherry picked from commit a77637193a3d452dd75accbcc0b8b2adbe1fa28c)