Added documentation.md and added some inline docs.