use scopes to fetch notes and sources that belong to a project.