Add logging capabilities.
Added logger, documentation, option parsing.
Updated TODO.