Created simple REST server on php. Code not tested.