begin using endpoints-model and removes base/model. resolves #23.