first version of the rest service completed and tested