Fix logger and trying to fix codeclimat
Merge pull request #4 from le0pard/master

Fix logger and trying to fix codeclimate