implementing db create tables