implemented the same as the previous commit also fot create_new_receiver

new refactor working up to:
./admincycle.sh
1) Disabling all the scheduled jobs ... done.
http: warning: HTTP 500 Internal Server Error
2) Creating Context 1 ... done.
http: warning: HTTP 500 Internal Server Error
3) Creating Receiver 1 ... done.