cleaning up the initialisation of the UARTs