Add add definition, edit definition, and delete definition functionality