Added API documentation generation
Fixed phpdoc errors
Removed docs from repo
Fixed doc generation & updated stubs