add beast2 xml generator
new code for community matrix