First pass

modularize scaffolding for node cluster

currently projects like cn, rtapi, ncar, pds all have a variant of this

please provide opinions

@Raynos @mrhooray @jsu1212 @kumikoda 
this file should not be called mock_server in the example.