Logging and Maven improvements

Some small improvements that might be useful for people who want to get this sample code running.