Add and restructure documentation.