Create srv_gen