Issue 20

This PR resolve #20. It will add an example project to show the result of the generator.

* There is also some changes in the template files