document and add some tests
add README and travis