Added Template editor and folder restructured

open template-editor.html and create templates. Copy to indicated file
and main.html should pick it up for code generation.