rebuild the whole library.
implemented some new functions.

Signed-off-by: imp <johannes.san@gmail.com>