- Updated class server port to correct port of 20016.
- Added error handling of the input.