first draft of the classes for the analyser