Add some documentation
Remove trailing whitespace
Updated README.md