Erwin device

Request is all working and will need to be reviewed before merging to master.