added logging module to replace print statements
Merge pull request #12 from krislion/master

added logging module to replace print statements