refactor(chat/lib): moved components to respect MVC