NeXus API code and helper applications