An operational local run emulator for Controller

... to be tested on Hadoop to make sure we didn't break anything for
the real production mode.