Add xml config equivalent of Java Config