Add jl gen part of wrapper generator

This will replace a good chunk of wrap_c when
that is refactored.