Changed the directory name doc to docs.
Added rst files for sphinx doc.