add command-line calculator
fix XML errors
start XML parsing with TinyXML