moved serial functionality into library. started putting into orientationGL (from graphics-stuff)