updated parser module, added index.js for call on command line, dependencies