Added sphinx documentation to project. Found in /doc/. More refactoring.