Added docs, changes in the parsing, WIP on reading xml in scala