added correlation module and simple regression class for Apache