Migrated dot generator to another file, implemented serial and branch dot handlers
Added a lot of missing comment blocks
Added parallel chain support to dot generator
Added DOT generation for loop chains