unify logging a bit and add the debug module
Merge pull request #5 from EndangeredMassa/debug

unify logging a bit and add the debug module