Factory+Registry pattern for Python classes.

WWW: https://github.com/todofixthis/class-registry/
