preview commit, finished most part of supervisor and collectorNode; polish, review and bugfix needed