create database tables script