REST Service implementation