add base entity superclass for model objects