real database creation and table creation