created db and model tables