encapsulated chat to a view and swapped it in