add Example and API section
update test files and script