Add stubs for lib

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