refactorig package. refactoring code. add ready-to-use jar. update README.