Added logging support.
Added logging. closes #6.
Fixed link.