update draft root generator

add ASCII art

more cleanup
add explicit return values