Full commit of in progress adding of REST functions