interface added

interface added for those wanting to implement their own baserepository
based off this