Moving checksum into its own method.

updated version, added license to pom, removed helper methods.