Updated logging. Updated readme file and an example project