Implementation repository pattern mongo