Merge pull request #2 from BeneDicere/master

use logging subsystem instead of print