Contains the dao implementation.