Add the class of reading and receving serial data