Add TaskExecutor and switch to Java 1.8.