fully set up restful api for remy in place