Added detection for only 1 device so far. Start and stop discovery added