initial refactor to move more constraint analysis and parsing into formal classes.
Nearly finished with rewrite of the code generation class into the php generator.
Added update back into the php builder, and create is working correctly.