Updated this MBean thingy to be the normal spring way
Deprecated things that should be deleted completely.