Added a simple rest-server using sleep