Restructuration. TODO : Pl in receiveCommand