Receiver mode

My solution for #97