initialisation of the serial and the gpio manager