Repo API
Added interfaces and methods
Merge remote-tracking branch 'upstream/master'