Started working on code to interact with the device database