Usually, when you want a servo motor, you simply buy one already made ... [Dejan] wanted to make the board as small as possible, and we think 40 mm square isn’t bad at all.
A servo uses a potentiometer attached to the output shaft in order to sense position, and the internal electronics take care of driving the motor to move the shaft to the desired angle.