adding settings for enabling logging
updating readme
tidy up