Added more detailed documentation, improved Readme.md.