create simple rest service