Making command line tool in NodejS