Added external logging package (KLogger)

Bare minimum changes to fix a bug (and hopefully I get a lot of new
features too)
Modified logIt() to be a wrapper to new logging tool.