write documentation.
write README.md a bit.
add test case