added function to list serial ports
a bit more preparations
finished port selection