Created a logger so that logs can be silenced

See fixes #64, see #62