Added hwm to communicator and added multithreading to ps_controller to improve speed.