enable scalastyle checks
style: magic numbers
style: do not use null values
style: if-blocks with braces or single line if-ternary
style: public methods must return explicit type
style: avoid using return
style: whitespace at end of line
style: line length max 120 characters
style: file end with newline
scalastyle errors will cause the build to fail
style: wrap null in option
scalastyle tab size 2
style: avoid using null
leverage common lib for http status codes
don't double throw
condense if clause
style: prohibit semicolon at EOL
condense option/filter-isEmpty/isDefined
don't throw a new unknown exception
tidy up getOrElse block