Added Repository class