XML config support

adding xml config support. closes #34