Collecting data for image viewing.
Sending data and history.
doing history chart.
Update changes to http server.