DB architecture rebuilt, data repository created