Added AbstractEntity.java and Entity.java