Create base db structure.