Create mainReceiver.js