create bisector and main modules from regression
remove regression.py - replaced with main and bisector modules
fix crash when no inbound data found