Core class refactoring

Core splitted into LemerGenerator and StatisticsResults. HistogramData
added for future histogram building.