Adding the Lib file and adjust some source files.

Signed-off-by: LongLuo <calmbody@163.com>