Add InputReaderThread (to be compiled)