a serial class for serial communication (wip)