Move bugsnag to its own module