Factor out Scala build settings.
Extract logger variable.
Fix Javadoc.
Fix Javadoc.
Fix Javadoc.
Document endpoint specific logging, close #49.