Fixed datetime issue.
Added basic sphinx documentation.