Refactor main
Refactor dot generation, include 'exportDot' format
Switch to creating exportable dot files