Finalised 1st version of the API documentation