Work

Added profiling and jmx support