Add getClients method to the server
Refactoring to prepare client GUI