adding RESTful domain resource mapping