refactor(cli): Refactor execution & microtasks into CliRunner struct
#344
+129
−106
CliRunner struct
#344