Proper logging

removes dodgy log outputting from wraith bin to add it correctly to
wraith's main class.

adds logging to the cli class