made messsagebus global for entities