Added multiple devices,
writer util,
new threads