Small changes, added example of logging use.
Added README.