Docblock complete

Ignoring API folder as this will be replaced.