Finished first version of datalogger