refactored unity connection code to a separate class and also now can read the rotary encoder with the application.  Decided on sending the data over by TCP