Rough implementation of sql driver interface.
Implementing LastInsertId and RowsAffected.
Implementing transacions interface. Refactoring.