submodule without templating working

basic submodule generator working, templating for files not fully done