added app.ts, compile_list
Establish a connection with socket.io