move rels library to separate repository