Added docstrings to addContent.py

I am going to do this for more modules, I swear.

This commit is part of the more general task of just
making code more understandable and accesible.