add lib and demo project