packages up assignment data and sends to server