updated BaseEntity class

removed compareTo implementation -> set lists won't be used anymore