added stub/realtime cli switch
Merge branch 'master' of https://github.com/bigdatabe/p2