Generated subdirectories; now filename can be defined in the template of...

... a class; added some example of code generators: javascript and repository (DRAFT)