lib/commandParser.js

adding command parser and unit tests for #2
lib/commandParser.js

adding command parser and unit tests for #2