created imu class