Changed device config to be a smarter class. Added set methods - yet to implement