add entity models and create db