Added root resource
Added the possibility to access to given components of a resource