Initial DB layout
Handle inserting existing entries