Introduced a resource_reference type which is parent to all resource references.
Use defined list of views.
Merge branch 'master' into lens_next