Finalized Documentation

Finalized the documentation for the API