Hooking up detection methods
Fleshing out known deviceId and known numbers functionality, also fixed known package query