added commander support for p2p.js