Added MessageLoops sample