preview commit, finished most part of supervisor and collectorNode; poli...

...sh, review and bugfix needed