Publish/subscribe functionality using emotiv eeg and pubnub.