That code will not work with even 1 servo.
You need to create instances (construct) of the servos. For 1 servo:
Servo servo;
Servo servo[5]; // create an array of servos
You need to attach the servo.
servo.attach(3);
Servos do not use the analogWrite function. They use servo.write(degrees) or servo.writeMicroseconds(us).
I suggest that you look at the serial input basics tutorial for ideas on reading serial input and parsing the data.