Misc fixes
Moved caching.py to session.py
Fix: module docstring now included in output (my fault, had to write the string as first statement)