Changed the latest entity and added db into model folder