more groovy style simplifications
equals- and hash code method for entities
security simplifications