employing some es6 idioms
split into separate templates for commands.