Redo some structure of docs
Add support of custom connections and custom locks (by properties). Add tests. Redo docs.