Documented most currently written APIs and added the beginnings of a plugin loader to index.html
Reearranged some documentation stuff.