Extracted kmer functionality into COMMON