First working REST services, although not fully tested