Fixed logger not being a singleton.
Made some changes to logging.
Removed unnecessary helper method.
Added a workerpool and made the logger threadsafe.