move linear regression to own directory/package