DRYd app_generator; added view_files_generator

* attention: the templates are still not checked in while someone else
  should review them again before they will reach the git history