Added code generator and example xml file