Fix #113 Rename urlForPublic to publicUrl, urlForResource to resourceUrl