Created abstract base Entity class