add threads and enet based network message processing