fix gitignore and migrate main_templagte from skins to fs

added modified main_template
fixed .gitignore