added repository interface and db repository generators