added logging
removed unnecessary print statments
added logging
merging conflicts
Merge pull request #18 from InCNTRE/logging40

added logging to TG40 and removed print statements in TG30.