fixing null pointer exception
implemented clear method
moved evolution factory to API package
equals and hashCode for clustering structures