default logfiles and some refactoring
simple debug info added