add some tests and enhance the demo
add README file for documentation
update demo