Added missing "import sys"
Added --srcdir option.
Added sphinx
Disabled configuration autoload.

This is confusing and can cause unexpected errors.
Added docs