Move code generation to separate generator service

do you think we really need to expose the guid at all for a generator?