init db script + model changes