Fixing the possibility to add a class to the list of available reltions.
Fixing the possibility to create your own relations.
Finish relation-factory