reworked templates structure
added generator script
added generator script
added some stuff