Refactored the serial calls out of the communicator class so that different
modules can be created. Such as for TCP or one using a different Serial library.