create database, create tables