Added documentation for the library