- Removed more parameters into template.
- More templateisation of the serial port driver.
- more tidying.