WIP: moving model over to new workload manager.  Currently massively
broken.