Added pin redirection.

Fixed the serial connections.