Application structure.
Event loop and TCP network.