Controller for sending and retrieving commands