2 2 stable

Add an api controller to manage relations.