Update README.md

add docs for factory design pattern via wikipedia