Modified interface MessageDAO.
Adding implementation of MessageDAO interface.