Add main db repository