Work in progress: reorganize experiment structure.

Split the experiment plugin into a sensor and an analysis plugin.