MorphR refactorization

* added test suite from it
* fixed bugs in transaction trackers
* fixed other bugs
wip...