Implement templating using a regex

It replaces <foo> with a matching value if found. If not, then it's
going to return an empty.
Remove old template

That's not needed anymore.
Ignore swap files