Servo object inside custom class not working

MarkT:
You seem to be attempting to do I/O during a constructor.

Constructors typically run before the environment is setup, you should only be iniitializing instance variables, not doing anything in a constructor.

Use a begin() method perhaps?

So should i make an attach method, similar to how the servo library works to setup my joint class? Not sure i have understood completely