Fixed some of the php problems.  Now the big issue is the use of the php json_decode function.
Solved many bugs on the php side.  Now it is on the client side with the json context type.  This will be put on hold while I refactor the components to contain their own model.
Completed the transition of the movement to the correct way to handle the components, and continued working on debugging the php.  This includes a few fixes within the dbo layer generator.