Implemented method getRelativePath in class Resource
Implemented method getRelativeSource in class Resource