Thanks.
I think if change to use xml, the configuration will also need lots of coding. similar to current implementation.
I will think about it. and have a try.