Moved logging to a log module
Merge pull request #11 from cloudcadre/retr0h/correct-logging

Moved logging to a log module