modified node_service to a fuction, and added a check case to use the func if the command started with 'node services'
misc