added rmainterface test in line with axpyinterface, removed all header packing-unpacking logic from rmainterface