typo; refact
added EntityRelationsRegistry (WIP)