refactor package name and declare gyro object