Working on the controllers for RestMS