CMA/HomeControl: Adding class ReceiveThread.