added unit test
added readme file
javadoc