Added class for timing measurement, further implementation for sqlite_storage.