Refactoring code to use design patterns.

jira : QUES-39
Removing print statements.

jira : QUES-39
Removing print statement

jira : QUES-39
Removing reply functions after use.

jira : QUES-39
Cleaning up.

jira : QUES-39
Cleaning up some more.

jira: QUES-39
Using real pubnub client.

jira : QUES-39
Merge pull request #3 from tbonelaforge/master

Refactoring and adding "GetContext" operation