exma_lib: getStats refactoring
plot: initial commit to build plot from stats