Added a simple class to analyze the datasets.