Changed location of gyroscope object to individual class.