Bug 1009608 - Split GaiaDevice class into a separate file