Start on repository using generics