Checkpoint.
Cleanup BaseDao class.
Merge pull request #35 from karma-exchange-org/cleanup_dao

Cleanup BaseDao.