put bin in lib, update docs