Created first version of Receiver class