added skeleton code for suj logic and hacked main copied from mainQtArm