Update on class workernode.    by Yifan
pull from master
Merge branch 'master' of https://github.com/Eagles2F/MigratableProcess_2014FALL
add enum for result