add XML model

I put the core of the library in a folder named core to separate it from other component.

I added some functions to manipulate belief structures and I used it to create an xml parser.
Currently there is no validation of the xml file via dtd or xml schema. I should do that later.