refactor to sub module, refactor the addition of simple jmx discovery
and cascade module.