Creating base repository