Initial version of golang generator
Also generate common.xml