refactor code
add README file