Add draft of commandparser.js
Update gateway.js
Update README
Update tests in test.js