Implementing both feature #81 and #61

Implemented #81 and #61 
I'm not sure if this the smartest approach, concatenating resourceName in the invoking methods to fragment again inside createResource(), but probably is the easiest one by the time being...