Implemented Scaler Thread for Testing