replaced home made latch with built in countdownlatch
promoted LooperExecutorFactory to a class
promoted LooperExecutorFactory to upper level
moved source tree and tidy up