I am planning to use Database repository for my project, could someone help me on this, how to create Database repository