experimenting with simple xml library
moving legacy code to legacy folder