sperate basic math functions and graph functions  to be include files for worker
change ports
1. fix update of node issue
2. allow easy restart for worker job
3. allow fully terminate worker
4. drag node works together with worker