generate segment documentation
cleaning up xml export
testing