Some code clean up.

Added asynchronus execution of main3, main6 and main9 (just for fun).