Restructure builds

In order to divide the workload on both servers, I divided the script so it can build a specific number of devices
on each server. The script has also been simplified to make my life easier in the event where I would add a new device.