Xml serialization and basic UI