Implement client<->server sync for Ephemeral changes, add some /api rest endpoints