Add logfile and sqlite backend for measurement storage