First massive refactoring to get create to work.
Switched puts calls to proper debug calls.
Refactored XML related methods into a module that adapter now uses.
Refactored delegate into one that doesn't deal with XML.
Added configuration validity checks in adapter and connection. Updates spec.
Refactored read method and added in query delegate and updated parser also.