XML config support
fixes #34