Snap cleanup (cmty, coreper, centr) and added nodejs-snap

- cleaning snap: removing dev and redundant functions in cmty, coreper, centr functions
- added nodejs snap module (in developement)
- minor changes to graphs example