WIP connection and cursor class for vtgate v2.
Added additional methods and cleaned up some code.
Small fixes.
more cleanup.