refactors all subject/object refs to use the ref-store
refactors all subject/object refs to use the ref-store

changes to `addNewDoc()`, `removeDoc()`, `drawAllLines()` and `enableDrag()`

withjam/ml-lodlive,withjam/ml-lodlive,withjam/ml-lodlive