setup the database tables.