fixed #6: Added documentation and code samples to README