Removed struct toolbar from the APIs
Removed struct gamestate from the APIs
Added extra error verifications
Use Sphinx and Doxygen for docs