Update luxreport.py

Remove threading and move some constant values to json configs.