complete repository Controller and prepare to add engine to collection repository rel