Moved types definition into the serial manager h-file