Fix deprecation and feature warnings
Minor refactoring to more idiomatic scala
Convert to scala-logging