Cleaning up. Adding logging. Adding log4j.properties to tarball