Added abstract factory example
Merge branch 'master' into gh-pages