as this is about scope setup it doesn't look wrong to have this code here. But do we could also manage the references in the ProjectService. I'll get an impression of this later