added cli ; updated docs