set up basic db structure