7: repository interface and implementation.
Merge pull request #8 from base-services/7

7: repository interface and implementation.