Expanded on pubsub system and built test using mysql for data-store.