basic structure, first implementation of xml part