Make relation-templates overwriteable

Currently, templates of relations are hardcoded and can't be overwritten via configuration.
I have changed this, first checking for config and if no one found load the hardcoded one