Refactoring to use Firmata.java from Processing Firmata library.