- firmware: wait for the command to finish before reading the next command
- added a cgi script for controlling the hardware