added dirhooks library
moved shs CLI to cli library