databases set up logically

Tentative database set up