Re-organising serial communication code
Added in a simple serial comms checker: useful to test the basics