Php Architecture for XML Binding