Added new classes, implemented more methods from JSONWireProtol API.
Added test cases