add entity models, create db