Extract chat into a view and controller