change name of makefile creation.
corrected somme mistake in tamplate and createMain with template.
Fix no args bug