added debug capability to the library
added a readme