- Move socket server start to main server file - This way tests and the main function can use the same code