template: add template for code generation

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
server: update module with autogenerated version

Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>