*Create API facade * Refactor API tests * Implementation of the facade API and add tests for synchronization