finishes rdb rewrite to ng
finishes rdf rewrite to ng
wip