Move chat room to application

TODO: move initiation and deinit to application