Introduced the basic handling of the similarity set. No real logic working yet.