add `compare` module with comparators