moved cli library to shs