Changed to generate Slave.java for import statements.
Changed to get() of the dispatcher instead of dispatch().
Fixed to compile SlaveProtocol.java with adding two needed statements.
Changed Worker.work() to throw IOException.