moophis: add a comparator class; finish question c