Segmentation refactored

Rate of change return removed
Added empty test scripts for remaining classes