Brix IPC 783

Pull request for code review.

The change includes implementation of IPC. 
I used sinon mocking library in the unit tests.