Updated README (Thanks to).
Refactored code.