refactoring and testing SCAT
SCAT test1 working
SCAT test part 2 finished
removing excess code from SCAT in spd
testing SCAT part 3 done
SCAT test part 4
last SCAT test, thank god