Basic implementation of routing capabilities. Cleaning code. Propagating data port from worker to master, to make it independent