Made resources path dynamic
Added demo link to documentation