added new service appMessagesService. Used to send a message, to hide the details of sending a message (so modules that need to send a message, don't need to deal directly with the rootScope)