Improvements on REST API and backends