Revert "Revert "Debut connexion, bd serveur, thread serveur""

This reverts commit f7adc4a0b57bd5432e3956e0b70a4431f86609d2.