Using an enum switch for determining server vs client mode
Changed a file name