Adding documentation for libraries