remove some sample function to main source
remove some sample function to main source
add some function test