added delays routines in lib
merged reader.c