PEP8
Only add /index if there is no / in the template ID
Rewrite vcards/contacts to NOT use subcommands