refactor to separate GLM fitting from preprocessing. Work in progress
refactor continues
removed outdated crossvalidation classes