add new feature 0.2

add tools.c and clean()