move bugzilla methods to their own class