Moved creation of controller up to fix things.
Changed up the logging interfaces.