own tutorial implementation of the REST book