Added server app to handle socket connections.