restructure the whole program

reuse it as an Async Could Computing & Load balancing model