moved pubsub to class

moved pubsub to a class file so we can build out the azure demo
started work on the file transfer demo client page