Change project structure

Change project structure.
Rename DSerialPortInfo.d[i] -> portinfo.d[i].
Use properties instead of generic methods.