Update to API v1.1

Rename
  `Prototype` to `Repository`
  `prototypeWithName` to `repositoryForClassName`
  `prototypeWithClass` to `repositoryWithClass`

@Schoonology Please review.