fixed a wrong path in the README.
fixed an old call to toString($resource) method, now replaced with __toString()