Update template code according to the documentation

Rename classes, file names etc