Added the beginning of a REST interface