documenting the library

#3