minor change to makefile, implemented readerThread