Initial check-in of some interfaces for repositories and models.