Implement Db backed repo