Implement checksumming, move to Java 6