Another refactoring of the data controller.
Use XMLDictionary to parse XML.
Add missing files.