started on determining role nodes
Loads of changes not passing all the unit-tests

this is part of disambiguating the local remote part