New REST API framework