- Improved the debug method in Server class
- Added comments