Refactor Server class
Add client actions
Update Server class