rework on Domain Repositories and profiles, accounts