mod: implement plugin logic and device plugin for testing. (send callbacks from nativ to JS not yet implemented)