First commit of working code.

Downloading works and seems to be quite reliable.
The action for setting and starting the datalogger is not yet finished.