Add more comprehensive documentation to most important files