adding a new error catch and modifying communication username.
modifying communication username.
creating different usernames for rc's and omf6 script.
changing cm_factory to communicate with broker. Not complete yet.