Updates to controllers to handle API changes (full objects replaced by
create requests). Added call for adding a device event batch.