Added template files.
Added .h extension files. Modified .gitignore to ignore swap files.