simple JMX refactoring
refactoring to support two type of messages
handling monitoring events via web service
add monitoring on external service