Remove old AJAX code
first pass on sync engine / refactoring serveur/client class