Have done this sort of project before and have gotten comfortable with the chat-box implementation. Using database, implementing chat-box, designing and everything will take about a month but quality and satisfaction is ensured if you're not in a hurry.