Make ESPWorkunit a singleton to support MVC paradigm

@miguelvazq @wangkx please review.