Implemented database model