device recogition

Just the initial setup to test the how to with this.