defined structures for the transmit and receive threads
Initial commit for readthread
Added typedef for structures