Added basic db transactions.
Added Seq and IdCol.