An Objective-C implementation of the LHD at CERN