Working on OSGi stuff
Fined tuned MBean registration and OSGi handling.