added the server code, it is mocking two examples