Feature/fix server template

I fixed server template file generated by jenerator. Now we can compile generated codes.