Add exception logging helper to keep outputs consistent
Move autoload to prevent loading when we don't need it.