Update README. Refactory Repeatable code.