beginnings of a working rest web service