Add REST interface