A new rewrite of the API Documentation

Reworked to be more logical and sensical to developers.