Updated Constructor definition for nodeQP class