Move code generation to separate generator service

i've been using camel case in api in general (though see now that targetKey was odd). Suggest generator_guid here