create database and tables and data