Create base repository