create bisector and main modules from regression
adding some tests