Updated Readme

Added more in depth detail about the project with examples.
Refactored code

Code is more DRY