core: introduce measurement class implementation

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>