updated the code to test the library
updated README for dependencies