A documentation effort

Added sphinx setup, apidoc and fixed up readme.