create db and tables finished