Add code to initialize Options and some code clean up
Test file to see how long it will take to build records in xml_queryresult table.