Added logger; Fixes #8