split binlog to new lib
doc changes