minor refactors

Logging api change.
Refactored aws code out of utils.
Nginx access log off by default.