set up basic database