Created entity model and db