Initial work. Demo showchasing my proposed API in receiver.js