Unified PubNub logic into a single class: Messenger. Added play/pause/prev/next controls.