Move all logs into a separate module