Added abstraction for db collections in daos.py