Added logger (no logging happening yet).
Added comment.
Added log function.
Added comment.