working with tests
refactor for better opts handling
add readme with usage info