Extracts logging, introduces Logger class
Merge pull request #42 from tomaszgieres/extract-logger-class

Extracts logging, introduces Logger class