small fix to formatter for queryer
include pika in xml.py
wrote ted parser