Add stubs for lib

Added stub files for lib.c and lib.h.
Merge pull request #2 from cuiwc/feature-1

Add stubs for lib