Storage and query classes for local and remote measurement data