Work on refactoring the Db component (Sql, Table/Row Gateways)