Added docstrings to all files