DAO base class.
Added ability to commit changes manually.