added pubsub, cleaned up data api slightly
Merge pull request #29 from Prodigious-Aim-Solutions/data-api

added pubsub, cleaned up data api slightly