Added a bit of documentation

How to use 'with' statements, and a few todos