codegen: change entry point

Change-Id: I01eac9e6c2123ba52d817ca0fdc74235263f7d87
Signed-off-by: Michael pasternak <mpastern@redhat.com>