fixed build path and minor problems.
Comparator prepared to run in executors