simple rest server