Converted to gradle build. Added simple slf4j logging. Removed some
sysouts.