imported validate.js for json schema validation
removed need for separate 'functions.js' file in the protocol dir. protocol.js can handle that. updated config to use a more flexible way of defining responsibilities for instances
removed need for separate 'functions.js' file in the protocol dir. protocol.js can handle that. updated config to use a more flexible way of defining responsibilities for instances