update document
add test ing environment in document
add pry
use ActiveSupport::Concern to move pubsub login into PubSub module
Merge pull request #1 from qsun/concerns

Use ActiveSupport::Concern to encapsulate pubsub logic