added various tools for managing written text and xml