Sorting out repositories and services and facades