Wip datasync

As the sync.py file now relies on inheritance to separate code and genericity, this should be reflected in the cli.py file.

It also adds the capabilities to use data sync with the test server.