Add management of db into DAO's classes