add brake-gate control, and add parse server's commands.