Move receiver to the SDK and update sample apps