Refactored jmx/mbeans from xml to java config
Added an example mbean