Unfinished work on the new API
Improved documentation
Updated gitignore because sphinx
Some further work on the new API