Add data compression task.
Minor cleanup and normalise.
Skeleton code for Java file writer.

Failed because runs into java.lang.reflect.InvocationTargetException when calling AccessController.doPrivileged.