Add timestamping

Times will be collected to timedata.log