Move docs to a separate folder.
Move startup initialization to tools/__init__.py
Heavy change to the reg module to write directly to registry instead of using temporary files.