Refactored server to remove Firmata and use the new textual commands