Full support for Query and Scan commands.
Recordset implemented to support threaded producer-consumer pattern.
Added tests for Query and Scan.