Started working on command line interface in cli.js