put back apache commons cli dependency
format output as CSV
add R diagram creator
update script