Xml based OOP database