Moved majority of the docs to doc blocks