Added creating a module from a complete template directory and with substitutions