first version of restlet utils in its own module