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 if expression is always true.