(C) Added eventLib.c and eventLib.h used in papified apps