Moved transmitting of message to master.py
Moved receiving of message to slave.py