Fix interface ChatService and added two new packages, three interfaces
and one class.