implmented client routing and combine it with node
Merge branch 'routing2'