Added documentation and explanations to README.md