a self contained rest service