remove doxygen style documentation and replace with docstrings.  session['activities'] is still broken.