Modified the PCMMBaseObject and all inhirited Objects and MMVersionInfo 

This pull request will fix the MMVersionInfo and the all gateSet objects structure, added write method to PCMMBaseObject