Added example with Template and Factory examples.