added db migration scripts and persistence models