fix type in SWAP Registration
add HelloWorld style example for PanStream