Implemented opening and reading from serial port