start implmenting code gen logic for jsreports main file