Implemented new way of using the serial port. Communication finally works in basic forms.