Implement rudimentary repo layer and service.
Merge remote-tracking branch 'origin/master'