Implement the library API, not tested yet.
Add a test program, which is able to call basic lft function.