started work on PsMatrixJsonSimpleImpl. To be continued tomorrow