MPU6050 library not working?

Hi,

I am trying to make the GY-521 control a servo. Have been Googling for a few hours, and found this blog:

I have successfully installed the I2Cdev library. The MPU6050 library is also installed in the exact same way as the I2Cdev, but the #include <MPU6050.h> is not orange in the sketch provided from the blog. I presume that’s why I get tonnes of errors when compiling.

Note that the quotation marks in the sketch from the blog are formatted wrong, and have to be retyped.
They are fixed in the code below.

The contents of the MPU6050 library I downloaded:
helper_3dmath.h
MPU6050_6Axis_MotionApps20.h
MPU6050_9Axis_MotionApps41.h
MPU6050.cpp
MPU6050.h

Sketch:

#include <Servo.h>
#include <Wire.h>
#include <I2Cdev.h>
#include <MPU6050.h>
MPU6050 mpu;
int16_t ax, ay, az;
int16_t gx, gy, gz;
Servo myservo;
int val;
int prevVal;
void setup() 
{
    Wire.begin();
    Serial.begin(38400);
    Serial.println("Initialize MPU");
    mpu.initialize();
    Serial.println(mpu.testConnection() ? "Connected" : "Connection failed");
    myservo.attach(9);
}
void loop() 
{
    mpu.getMotion6(&ax, &ay, &az, &gx, &gy, &gz);
    val = map(ay, -17000, 17000, 0, 179);
    if (val != prevVal)
    {
        myservo.write(val);
        prevVal = val;
    }
    delay(50);
}