refactored ipc caching, messaging pub/sub
fixes in bkjs command line
fixed examples