Update ebook.py

added docstrings to classes