Separating classes for /rest/widget and /rest/data mappings. Index.html is querying and executing /rest/widget/root