REST Web Service implementation