added AbstractEntity class