Added comments and removed unneccessary stuff. Now ready to be implemented into 70_SMLUSB
added smarter if conditions for scaler and direction
Added parsertest.pl modifications to 70_SMLUSB - Not tested yet