move docs from docstring to new file