added comments to create-device-table to understand what the elements in the database table are for