implement NoticeService and entities.
implement MessageService, entities and interface