Add stubs for lib

Added stub files for lib.c and lib.h.
Remove the extra lines?