Recognizing devices

Started the recognition. Not done.