first pass at working rest service