Added receiver class and function to GUI