StatusManager -> ChangeManager. rep.version -> rep.getVersion. concat rep.add and rep.commit logic
fix doc. add example.js