Use functools.wraps on memoize decorator
Update sphinx configuration
Work around missing vim module when generating sphinx docs

Horrible solution, should be fixed asap.
Add docs for all segments