Created CFG generator