Start the implementation of inputs gathering and the comparator code (still buggy...