adding TODO for refactoring, and removing debug printf.
install doesn't seem to be thread safe when used with JNI. Need to stop the device detector when using it.
adding getter for the service, and logginf the actions in real device manager.