rework the packaging a bit, to share some code

(is there a better pattern?)
first draft of a data analyzr